import 'package:json_annotation/json_annotation.dart';
import 'package:xindong/models/user/xindong_base_user.dart';
import 'package:xindong/models/user/xindong_other_user.dart';
import 'package:xindong/routes/conversation/model/xindong_liaotian_data.dart';

part 'xindong_liaotian_detail_class.g.dart';

@JsonSerializable()
class XinDongLiaoTianDetailClass {
  late XinDongBaseUser self;
  late XinDongOtherUser another;
  late XinDongLiaoTianData data;

  XinDongLiaoTianDetailClass();

  factory XinDongLiaoTianDetailClass.fromJson(Map<String, dynamic> json) =>
      _$XinDongLiaoTianDetailClassFromJson(json);

  Map<String, dynamic> toJson() => _$XinDongLiaoTianDetailClassToJson(this);
}
